#include <stdio.h>
int main(){
	int x;
	double sum = 0;
	int cnt=0;
	int number[100];
	scanf("%d",&x);
	while(x!=-1){
		number[cnt] = x;
		cnt++;
		sum+=x;
		scanf("%d",&x); 
	}if(cnt>0){
		int i;
		double average = sum/cnt;
		for(i=0;i<cnt;i++){
		
		if(number[i]>average){
			printf("%2d",number[i]);
		}}
	}return 0;
}
